package com.wandian.news.bean;

import java.util.List;

/**
 * @Author: cl
 * @CreateDate: 2020/12/8 18:01
 * @UpdateRemark:
 */
public class ChallengeMYDQBean {

    /**
     * msg : success
     * code : 200
     * newslist : [{"answer":"扬眉吐气","quest":"羊不呼吸了叫什么？（打一成语）"}]
     */
    private String msg;
    private int code;
    private List<NewslistEntity> newslist;

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public void setNewslist(List<NewslistEntity> newslist) {
        this.newslist = newslist;
    }

    public String getMsg() {
        return msg;
    }

    public int getCode() {
        return code;
    }

    public List<NewslistEntity> getNewslist() {
        return newslist;
    }

    public class NewslistEntity {
        /**
         * answer : 扬眉吐气
         * quest : 羊不呼吸了叫什么？（打一成语）
         */
        private String answer;
        private String quest;

        public void setAnswer(String answer) {
            this.answer = answer;
        }

        public void setQuest(String quest) {
            this.quest = quest;
        }

        public String getAnswer() {
            return answer;
        }

        public String getQuest() {
            return quest;
        }
    }
}
